//
//  MyselfDetailViewController.m
//  shise
//
//  Created by 徐国庆 on 14/12/18.
//  Copyright (c) 2014年 MZP. All rights reserved.
//

#import "MyselfDetailViewController.h"

@interface MyselfDetailViewController ()

@end

@implementation MyselfDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = [UIColor blueColor];
    
    // 设置标题
//    self.title = @"个人信息";
    
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemEdit target:self action:@selector(editButtonAction:)];
    
}

// 点击导航栏的编辑按钮的时候执行的方法
- (void)editButtonAction:(UIButton *)button
{
    // 当点击了编辑按钮的时候就可以对本人的信息进行设置 了
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
